﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BloomFilter
{
    public class BloomFilterData<T> : IBloomFilterData<T>
    {
        public BloomFilterData(string key, T value)
        {
            KeyName = key;
            Value = value;
        }

        public string KeyName
        {
            get;
            set;
        }

        public T Value
        {
            get;
            set;
        }

        public bool IsValid()
        {
            return (!string.IsNullOrEmpty(KeyName));
        }


    }
}
